package com.ffms.entity;


public class Bank {
    private int bid;
    private String bmoney;
    private String bname;
    private int mid;
    private FamilyMember familyMember;

    public Bank(int bid, String bname, String money, String thisMid) {
        this.bid = bid;
        this.bmoney = money;
        this.bname = bname;
        this.mid = Integer.parseInt(thisMid);
    }

    public Bank(int bid, String bname, String bmoney) {
        this.bid = bid;
        this.bmoney = bmoney;
        this.bname = bname;
    }

    public Bank(String bname, String bmoney, int mid) {
        this.mid = mid;
        this.bmoney = bmoney;
        this.bname = bname;
    }

    public Bank(String bmoney, String bname) {
        this.bmoney = bmoney;
        this.bname = bname;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getBmoney() {
        return bmoney;
    }

    public void setBmoney(String bmoney) {
        this.bmoney = bmoney;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public FamilyMember getFamilyMember() {
        return familyMember;
    }

    public void setFamilyMember(FamilyMember familyMember) {
        this.familyMember = familyMember;
    }
}
